﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EnCor.Security
{
    public abstract class Credential
    {
        private string _Tag;

        protected Credential()
        { 
        
        }

        protected Credential(string tag)
        {
            _Tag = tag;
        }

        /// <summary>
        /// Tag is used for multi-domain integration system, EnCor will identify ids between different tags.
        /// </summary>
        public string Tag
        {
            get
            {
                return _Tag;
            }
        }

        public abstract string Type
        {
            get;
        }

        /// <summary>
        /// User name
        /// </summary>
        public abstract string Name
        {
            get;
        }
    }
}
